package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 教学班-教师
 * </p>
 *
 * @author quin.song
 * @since 2023-01-31
 */
@Data
@Accessors(chain = true)
@TableName("teaching_class_teacher")
@ApiModel(value = "TeachingClassTeacher对象", description = "教学班-教师")
public class TeachingClassTeacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long teachingClassId;

    private Long teacherId;

    @ApiModelProperty("教师类型；0：默认任课教师；1：代课老师 ")
    private Integer teacherType;

    @ApiModelProperty("对应授课类型 0:环节  1讲授 2实验 3上机 4其他")
    private Integer hourType;

    @TableField(exist = false)
    private String baseTeacherId;

    @TableField(exist = false)
    private String teacherName;

    @TableField(exist = false)
    private String imageUrl;
}
